package com.ndp.fb.rdb.model.customaudience;

import com.ndp.fb.rdb.annotation.Id;
import com.ndp.fb.rdb.annotation.NoSave;
import com.ndp.fb.rdb.annotation.Table;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * Created by elvisxiong on 15/12/7.
 */
@Setter
@Getter
@NoArgsConstructor
@Table("custom_audience")
public class CustomAudienceItem implements Serializable{
    @Id
    private Long id;

    //column:fb_account_id
    private Long fbAccountId;

    @NoSave
    private String fbAccountName;

    //column:custom_audience_id
    private Long customAudienceId;

    //column:request_queue_status
    private Integer requestQueueStatus;

    //column:custom_audience_template_id
    private Long customAudienceTemplateId;

    //column:delivery_status_code
    private Integer deliveryStatusCode;

    //column:delivery_status_description
    private String deliveryStatusDescription;

    //column:operation_status_code
    private Integer operationStatusCode;

    //column:operation_status_description
    private String operationStatusDescription;

    //column:version
    private String version;

    //column:time_created
    private Long timeCreated;

    //column:time_updated
    //自定义受众更新时间
    private Long timeUpdated;

    //column:origin_audience_id
    private Long originAudienceId;

    //column:is_delete
    private Long isDelete;

    //column:del_reason
    private String delReason;
}
